package com.doria.common.exception;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class DoSome {

    public void test(){
        try {
            System.out.println("?");
            throw new ServerMissException(400,"没有服务");
        } catch (ServerMissException e) {
            System.out.println("异常捕获了");
            log.error(e.toString());
        }
    }


}
